import { Entity, Column, PrimaryGeneratedColumn, BaseEntity } from 'typeorm';

@Entity('internet_celebrity_group_history')
export class InternetCelebrityGroupHistory extends BaseEntity {
  @PrimaryGeneratedColumn()
  id: number;
  
  @Column({ name: 'platform' })
  platform: string;

  @Column({ name: 'account' })
  account: string;

  @Column({ name: 'name' })
  name: string;

  @Column({ name: 'avatar_img' })
  avatar_img: string;

  @Column({ name: 'avatar_img_id' })
  avatar_img_id: string;

  @Column({ name: 'create_time' })
  create_time: Date;

  @Column({ name: 'wx_user' })
  wx_user: string;

  @Column({ name: 'ic_group' })
  ic_group: number;

  @Column({ name: 'notice_id' })
  notice_id: number;
}
